/* 
 * File:   Tan.h
 * Author: Gab'z
 *
 * Created on 4 juin 2012, 09:41
 */

#ifndef TAN_H
#define	TAN_H

#include "AngularUnaryOperator.h"

namespace calculator {

    class Tan : public AngularUnaryOperator {
        friend class CommandMap;

    public:
        virtual ~Tan();
        
        Tan* clone() const;

        const Number* apply(const SimpleNumber* n) const throw (ArithmeticException);

    private:
        Tan(const std::string name);
        Tan(const Tan& orig);
    };
}

#endif	/* TAN_H */

